package io;

import java.io.*;

/**
 * @author krystal
 * @date 2022/11/27 9:45
 */
public class Demo11 {
    public static void main(String[] args) throws IOException {
        try (OutputStream outputStream = new FileOutputStream("./bbb.txt");) {
            PrintWriter writer = new PrintWriter(outputStream);
            writer.println();
            writer.printf("a=%d\n", 10);
        }
    }
}
